<template>
  <div class="app-container">
    <el-card shadow="never" class="mb-3">
      <el-button type="primary" @click="$router.push('/plan/index')">回到主页</el-button>
      <el-form ref="searchFormRef" :inline="true" class="mt-2.5" label-width="auto">
        <el-form-item prop="username" label="工位">
          <div style="width: 178px; color: #409EFF; cursor: pointer;" @click="$router.go(-1)">工位1</div>
        </el-form-item>
        <el-form-item prop="username" label="项目工号">
          <div style="width: 178px;">123345</div>
        </el-form-item>
        <el-form-item prop="username" label="项目名称">
          <div style="width: 178px;">美国</div>
        </el-form-item>
        <el-form-item prop="username" label="机号">
          <div style="width: 100px;">1#</div>
        </el-form-item>
        <el-form-item prop="username" label="上工位日期">
          <el-input placeholder="请输入" />
        </el-form-item>
        <el-form-item prop="username" label="出车间日期">
          <el-input placeholder="请输入" />
        </el-form-item>
        <el-form-item prop="username" label="配送率">
          <el-input placeholder="自动计算" />
        </el-form-item>
      </el-form>

    </el-card>
    <el-card shadow="never" class="">
      <el-table :data="tableData">
        <!-- <el-table-column type="selection" width="50" align="center" /> -->
        <el-table-column type="index" label="序" width="50" />
        <!-- 名称	部位	物料名称	数量	计划时间	实际时间	备注 -->
        <el-table-column prop="name" label="名称" />
        <el-table-column prop="name1" label="部位" />
        <el-table-column prop="name2" label="物料名称" />
        <el-table-column prop="name3" label="数量" />
        <el-table-column prop="name4" label="计划时间">
          <el-input placeholder="请输入" />
        </el-table-column>
        <el-table-column prop="name5" label="实际时间">
          <el-input placeholder="请输入" />
        </el-table-column>
        <el-table-column prop="name6" label="备注" />
      </el-table>
    </el-card>
  </div>
</template>
<script setup>
const tableData = [ ]
for (let index = 0; index < 10; index++) {
  tableData.push({
    name: "起升机构",
    name1: "卷筒",
    name2: "起升卷筒",
    name3: "26",
    name4: "",
    name5: "",
    name6: ""
  })
}
</script>
<style lang="scss" scoped></style>
